package test

import (
	"fmt"
	"reflect"
	tagProcessor "tagHandler/Handler"
)

func init() {
	tagProcessor.RegisterTagProcessor("kmsx", KmsxProcessor{})
}

type KmsxProcessor struct {
}

func (processor KmsxProcessor) Handle(str reflect.Value, tag string) {
	fmt.Println(tag)
	fmt.Println(str, "处理中")
	fmt.Println("-------------------")
	str.SetString(str.String() + "已处理")
}
